<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <p v-if="visible">爱好抽烟喝酒烫头 -if</p>
        <p v-show="visible">爱好抽烟喝酒烫头 -show</p>
        <button @click="visible = !visible">按钮</button>
    </div>
    <script src="./js/vue.js"></script>
    <script>
        const vm = new Vue({
            data: {
                visible: true,
            }
        });
        vm.$mount("#app");
        console.log("测试git");
    </script>
</body>

</html>